package com.yulongtian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author yulongtian
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TemHumData对象", description = "")
public class TemHumData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @ApiModelProperty(value = "BEEP状态 0 关闭 1 开启")
    private Integer beepState;

    @ApiModelProperty(value = "LED0状态 0 关闭 1 开启")
    private Integer ledState;

    @ApiModelProperty(value = "当前时刻的温度")
    private String tem;

    @ApiModelProperty(value = "当前时刻的湿度")
    private String hum;

    @ApiModelProperty(value = "当前时刻的光照强度")
    private String adcx;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除 0-否 1-是")
    private Integer isDelete;


}
